<template>
  <div id="home">
      这是首页 --- {{$route.params.id}}
      <router-link to="/home/list1">列表1</router-link>
      <router-link to="/home/list2">列表2</router-link>
        <!-- 给子路由路口 -->
      <router-view></router-view>
      </div>
</template>

<script>
export default {

}
</script>

<style>

</style>